{template newheader}
<script>
function newOpen()
{
	$('#new_good').toggle('fast');
}
</script>
<script src="{SITE_URL}app/group/js/extend.func.js" type="text/javascript"></script>
<div id="wrapper">
	<div class="main">
	<!--{if $TS_USER[user][userid] == $strUser[userid]}-->
	<div id="publish_me" class="pub_box">
    <div class="pub_area r5" style="position:relative">
        <div class="pub_edit r5">
            <div class="zone_select_album clearfix" id="zone_select_album">
				<div class="chose_album">
					
				</div>
				
			</div>
			<form action="{SITE_URL}index.php/go/url/ts-addpro" method="post" target="_top">
            <input name="purl"  class="pub_txt fl rl5" style="height:24px; line-height:24px; color: #CCCCCC" onfocus="this.value==this.defaultValue?this.value='':null;" onblur="this.value==''?this.value='粘贴宝贝地址（暂时只支持淘宝）':null;" value="粘贴宝贝地址（暂时只支持淘宝）" ><input id="pub_submit" type="submit" class="pub_btn fl rr5" style="height:30px" value="分享">
			</form>
                  	<a href="javascript:;" style="position:absolute; display:block; width:130px; height:35px; line-height:35px; right:100px; top:12px; _top:20px; background:url({SITE_URL}images/button_bg.gif) center center no-repeat; font-size:14px; font-weight:bold; color:#FFFFFF; text-align: center;" onclick="newOpen();">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 从本地上传</a>
        </div>
    </div>
    <div class="clear"></div>
</div>
<div id="new_good" class="pub_box" style="background:none; background-color:#FFFFFF; border:#CCCCCC 1px dashed; display:none">
    <div class="pub_area r5">
        <div class="pub_edit r5" style="position:relative">
            <div class="zone_select_album clearfix" id="zone_select_album">
				
			</div>
		<form method="POST" action="{SITE_URL}index.php?app=group&ac=do&ts=new_topic" onsubmit="return newTopicFrom(this)">
<table width="95%">
<tbody><tr>
  <td width="173" height="29">标题</td>
    <td colspan="3"><input style="padding:3px 0;width:400px;" type="text" value="" maxlength="100" size="50" name="title" gtbfieldid="2"></td></tr>	
<tr><td height="30">网址</td><td colspan="3">
<input style="padding:3px 0;width:400px;" type="text" value="" maxlength="100" size="50" name="gourl" gtbfieldid="2"></td></tr><tr>
	<td valign="top">内容</td><td colspan="3"><textarea style="width:99.5%; border:#CCCCCC 1px solid" id="editor_full" cols="55" rows="10" name="content"></textarea></td></tr>
	<tr>
	  <td height="50">标签</td><td width="390"><input style="padding:3px 0;width:200px;" name="tag" /></td>
	  <td width="61">价格</td>
	  <td width="507"><input style="padding:3px 0;width:200px;" name="price" /></td>
	</tr>
    <tr><td></td><td colspan="3">
	
	<input type="hidden" name="groupid" value="{$strGroup[groupid]}" />
	
     <input class="submit" type="submit" style="border: 1px solid #CCC;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
border-radius: 15px;
background: #F2F0F0;
-moz-box-shadow: 0 1px 1px #ccc;
-webkit-box-shadow: 0 1px 1px #ccc;
box-shadow: 0 1px 1px #ccc;
padding: 2px 10px;
margin: 0 5px 10px 0;
display: inline-block;
font-size: 14px;
color: #6C6C6C;
text-decoration: none;
cursor:pointer" value="提交"></td></tr></tbody></table>
</form>
        </div>
    </div>
    <div class="clear"></div>
</div>
<div id="pro"></div>
<!--{/if}-->	
		<h1 class="u_name">{$strUser['username']}的收藏</h1>
		<ul class="u_tab">
			<li><a href="{SITE_URL}{tsurl('user','space',array(userid=>$strUser[userid]))}">分享<em>({$annmu})</em></a></li>
			<li class="current"><a href="{SITE_URL}{tsurl('user','collect',array(userid=>$strUser[userid]))}">收藏({$collects_num})</a></li>
			<li><a href="{SITE_URL}{tsurl('user','talk',array(userid=>$strUser[userid]))}">话题</a></li>
		</ul>
		<div class="user_box">
		
		
			<div id="content0" class="col_1 ">
				<ul class="p_list">
				
						<!--{if $arrTTopic1}-->
<!--{loop $arrTTopic1 $key $item}-->
					<li class="node co5">
						<div class="p_box">
							<a href="{SITE_URL}{tsurl('group','topic',array(topicid=>$item[topicid]))}" name="false" class="thum"><img src="{SITE_URL}{$item[thumb]}"/></a>
							
							
									 <!--{if $TS_USER[user] == ''}-->
							<a class="fave" href="{SITE_URL}{tsurl('user','login')}">收藏</a>
						<!--{else}-->
							<!--{if $item[iscollect] =='1'}-->
								<a class="faved" href="javascript:void('0');" title="已收藏">已收藏</a>
							<!--{else}-->
						<a class="fave" href="javascript:void('0');" onclick="topic_collect('{$item[topicid]}');" title="点击收藏">收藏</a>
						<!--{/if}-->
							 <!--{/if}-->
												
							
						</div>
						<p class="n_data">
								<!--{if $item[user][userid] == $userid}-->
							<span class="self" title="我分享的"></span>
							 <!--{/if}-->
						<span class="fave" title="{$item[collects_num]}人收藏">{$item[collects_num]}</span><a class="com" href="{SITE_URL}{tsurl('group','topic',array(topicid=>$item[topicid]))}#comments" title="{$item[count_comment]}条评论">{$item[count_comment]}</a>
						</p>
						<div class="n_info">
							<h2>{$item[title]}</h2>
						</div>
					</li>
					
						<!--{/loop}-->
<!--{/if}-->
			
					
				
				
				</ul>
			</div>
		
		
			<div id="content1" class="col_2 ">
				<ul class="p_list">
						<!--{if $arrTTopic2}-->
<!--{loop $arrTTopic2 $key $item}-->
					<li class="node co5">
						<div class="p_box">
							<a href="{SITE_URL}{tsurl('group','topic',array(topicid=>$item[topicid]))}" name="false" class="thum"><img src="{SITE_URL}{$item[thumb]}"/></a>
							
							
									 <!--{if $TS_USER[user] == ''}-->
							<a class="fave" href="{SITE_URL}{tsurl('user','login')}">收藏</a>
						<!--{else}-->
							<!--{if $item[iscollect] =='1'}-->
								<a class="faved" href="javascript:void('0');" title="已收藏">已收藏</a>
							<!--{else}-->
						<a class="fave" href="javascript:void('0');" onclick="topic_collect('{$item[topicid]}');" title="点击收藏">收藏</a>
						<!--{/if}-->
							 <!--{/if}-->
													
							
						</div>
						<p class="n_data">
							
								<!--{if $item[user][userid] == $userid}-->
							<span class="self" title="我分享的"></span>
							 <!--{/if}-->
							
							<span class="fave" title="{$item[collects_num]}人收藏">{$item[collects_num]}</span><a class="com" href="{SITE_URL}{tsurl('group','topic',array(topicid=>$item[topicid]))}#comments" title="{$item[count_comment]}条评论">{$item[count_comment]}</a>
						</p>
						<div class="n_info">
							<h2>{$item[title]}</h2>
						</div>
					</li>
					
						<!--{/loop}-->
<!--{/if}-->
			
				</ul>
			</div>
		
		
			<div id="content2" class="col_3 col_l">
				<ul class="p_list">
				
					
				
										<!--{if $arrTTopic3}-->
<!--{loop $arrTTopic3 $key $item}-->
					<li class="node co5">
						<div class="p_box">
							<a href="{SITE_URL}{tsurl('group','topic',array(topicid=>$item[topicid]))}" name="false" class="thum"><img src="{SITE_URL}{$item[thumb]}"/></a>
							
							
									 <!--{if $TS_USER[user] == ''}-->
							<a class="fave" href="{SITE_URL}{tsurl('user','login')}">收藏</a>
						<!--{else}-->
							<!--{if $item[iscollect] =='1'}-->
								<a class="faved" href="javascript:void('0');" title="已收藏">已收藏</a>
							<!--{else}-->
						<a class="fave" href="javascript:void('0');" onclick="topic_collect('{$item[topicid]}');" title="点击收藏">收藏</a>
						<!--{/if}-->
							 <!--{/if}-->
													
							
						</div>
						<p class="n_data">
							
								<!--{if $item[user][userid] == $userid}-->
							<span class="self" title="我分享的"></span>
							 <!--{/if}-->
							
							<span class="fave" title="{$item[collects_num]}人收藏">{$item[collects_num]}</span><a class="com" href="{SITE_URL}{tsurl('group','topic',array(topicid=>$item[topicid]))}#comments" title="{$item[count_comment]}条评论">{$item[count_comment]}</a>
							
						</p>
						<div class="n_info">
							<h2>{$item[title]}</h2>
						</div>
					</li>
					
						<!--{/loop}-->
<!--{/if}-->
			
				
				
				</ul>
			</div>
		
		</div>
	</div>
	<div class="sidebar">
	
		<div class="white">
			<p class="ava_big"><img src="{$strUser[bigface]}" /></p>
			<!--{if $strUser[userid] <> $TS_USER[user][userid]}-->
			<!--{if $strUser[isfollow]}-->
				<p class="add" style=""><span class="btn_added">已关注<a <a href="javascript:void('0');" onclick="user_nofollow('{$TS_USER[user][userid]}','{$strUser[userid]}');" id="followed">取消</a></span></p>
				<p class="add" id="unfollow" style="display:none"><a class="btn_add" href="/login">关注</a></p>
			<!--{else}-->
							<p class="add" style="display:none"><span class="btn_added">已关注<a href="/login" id="followed">取消</a></span></p>
				<p class="add" id="unfollow" style=""><a class="btn_add"  href="javascript:void(0);" onclick="user_follow('{$TS_USER[user][userid]}','{$strUser[userid]}');">关注</a></p>
				<!--{/if}-->
					<!--{/if}-->
			<ul class="u_data">
				<li class="city">火星</li>
				
				<li class="join_date">{php echo date('Y-m-d',$strUser[addtime])} {$TS_HL[app][1067]}</li>
			</ul>
			<p class="signature"><!--{if $strUser[signed]}-->{$TS_HL[app][1078]}{$strUser[signed]}<!--{/if}--></p>
		</div>
		<div class="white">
			<h2>{$strUser[username]}关注的人</h2>
			<ul class="peo_list">
			
					<!--{loop $arrFollowUser $key $item}-->
				<li><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}" title="{$item[username]}"><img src="{$item[face]}" alt="{$item[username]}" /></a></li>
			<!--{/loop}-->
			
			</ul>
			<p class="see_all"><a href="{SITE_URL}{tsurl('user','follow',array(userid=>$strUser[userid]))}">全部{$strUser[count_follow]}</a></p>
		</div>
		<div class="white">
			<h2>{$strUser[username]}的粉丝</h2>
			<ul class="peo_list">
				<!--{loop $arrFollowedUser $key $item}-->
				<li><a href="{SITE_URL}{tsurl('user','space',array(userid=>$item[userid]))}" title="{$item[username]}"><img src="{$item[face]}" alt="{$item[username]}" /></a></li>
			<!--{/loop}-->
			</ul>
			<p class="see_all"><a href="{SITE_URL}{tsurl('user','followed',array(userid=>$strUser[userid]))}">全部{$followedUsersnum}</a></p>
		</div>
	</div>
	<div class="clear"></div>
	<div class="loadbar" id="ajax"><a  class="ajax loading">更多</a></div>
	<div class="loadbar" id="more"><a class="ajax">更多</a></div>
</div>
<!--加载编辑器-->

<script src="{SITE_URL}public/js/editor/xheditor/xheditor.js" type="text/javascript"></script>

<script src="{SITE_URL}public/js/editor/xheditor/loadeditor.js" type="text/javascript"></script>
{template footer}
